package com.yykj.user.center.client.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/16 22:30
 */
@Data
public class AddGroupForm {

    //    @NotBlank(message = "请填写分组或标签名称")
    private String name;

    @NotBlank(message = "请传入医生Id")
    private String doctorId;

    @NotNull(message = "请传入医院Id")
    private Integer hospitalId;

    @NotNull(message = "请传入类型")
    @ApiModelProperty("类型：1分组 2标签")
    private Integer type;

}
